package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.DynamicAndTopic;
import com.ytjj.qmyx.mall.model.DynamicAndTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DynamicAndTopicMapper {
    long countByExample(DynamicAndTopicExample example);

    int deleteByExample(DynamicAndTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DynamicAndTopic record);

    int insertSelective(DynamicAndTopic record);

    List<DynamicAndTopic> selectByExample(DynamicAndTopicExample example);

    DynamicAndTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DynamicAndTopic record, @Param("example") DynamicAndTopicExample example);

    int updateByExample(@Param("record") DynamicAndTopic record, @Param("example") DynamicAndTopicExample example);

    int updateByPrimaryKeySelective(DynamicAndTopic record);

    int updateByPrimaryKey(DynamicAndTopic record);
}